﻿using Kogel.Dapper.Extension.MsSql;
using QBData.Entity;
using System.Collections.Generic;
using System.Data.SqlClient;

namespace QBData.Dao
{
	class BillDao
	{
        /// <summary>
        /// 获取全部的话单记录
        /// </summary>
        /// <returns></returns>
        public List<Bill> GetOriginalBilleList()
        {
            using (var conn = new SqlConnection(DBContext.connectionStr))
            {
                return conn.QuerySet<Bill>().ToList();
            }
        }

        public void SaveBillList(List<Bill> bills)
        {
           
        }
    }
}
